<?php $url = new Zend_Controller_Action_Helper_Url();?>
<?php $this->nav = "<a href=\"".$url->simple('','')."\">首页</a> > 圈子图片"?>

<div id="picture_title">
<div style="float:right; margin-top:6px;">&gt;&gt;&nbsp;&nbsp;
	<a href="<?= $url->simple('upload', 'picture', null);?>">我要上传</a>
	&nbsp;&nbsp;&nbsp;Submit</div>
</div>

<div id="content_border">
	<div class="w-listp" style="">
		<div style="width:560px; margin: 10px auto;">
	    	<?php foreach($this->catepics as $cate):?>
            <div class="w-itemp">
            	<a href="<?=$url->simple('catelist','picture','',array('cateId'=>$cate->id))?>">
            		<?php if ($cate->getLastImage()->thumb):?>
            		<img src="/<?= $cate->getLastImage()->thumb; ?>" border="0"/>
            		<?php else :?>
            		<img src="/skins/blues/images/picture/nopic.gif" border="0"/>
            		<?php endif;?>
            	</a>
            	<div>
            		<?= $cate->title; ?>
            	</div>
            </div>
            <?php endforeach;?>
        </div>
    </div>
    <div style="width:400px; padding-left: 3px;">
    <?if ($this->pictures instanceof Zend_Paginator): ?>
    	<?= $this->paginationControl($this->pictures, 'sliding', 'picture/_paginator.phtml')
    		
    	?>
    <?endif?>
    </div>
</div>